package com.jk.vehicle.mini.service;

import com.jk.vehicle.mini.entity.Network;
import com.jk.vehicle.core.service.Service;
import com.jk.vehicle.mini.vo.NetworkSelectListVo;

import java.util.List;
import java.util.Map;

/**
 * This is Description for NetworkService
 *
 * @author Administrator
 * @date 2021/06/25
 */
public interface NetworkService extends Service<Network> {
    /**
    * 根据查询条件查询单表数据
    * @param paramMap 查询条件
    * @return 查询结果
    */
    List<Network> queryByParams(Map<String, Object> paramMap);

    /**
     * 根据条件查询网点列表
     * @param corpId 厂家id
     * @return
     */
    List<NetworkSelectListVo> list(String lng, String lat, Double distance, Integer networkType,
                                   Long corpId, String dsName);


}
